package com.lrkj.back.mapper;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.ZsPeibao;
import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.exception.DBException;

public interface ZsPeibaoMapper extends DBInterface<ZsPeibao> {

	List<ZsPeibao> findAllZsPeibao(Map<String, Object> map) throws DBException;
	

	int insertBatch(List<ZsPeibao> list) throws DBException;
	
	int updateBatch(List<ZsPeibao> list) throws DBException;
	
	List<ZsPeibao> findPeibaoByZTandHG(Map<String, Object> map) throws DBException;
	
	void updateZhuangtaiByPK(Map<String, Object> map) throws DBException;
	
	void updateState(Map<String, Object> map) throws DBException;
	
	int updateBatchByBao(List<ZsPeibao> list) throws DBException;
}
